package com.itheima.stock.mapper;

import com.itheima.stock.common.domain.InnerMarketDomain;
import com.itheima.stock.common.domain.Stock4EvrDayDomain;
import com.itheima.stock.pojo.StockBusiness;
import com.itheima.stock.pojo.StockRtInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author 16077
* @description 针对表【stock_business(主营业务表)】的数据库操作Mapper
* @createDate 2022-03-13 17:42:55
* @Entity com.itheima.stock.pojo.StockBusiness
*/
public interface StockBusinessMapper {
    List<StockBusiness> getAll();

    int deleteByPrimaryKey(Long id);

    int insert(StockBusiness record);

    int insertSelective(StockBusiness record);

    StockBusiness selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StockBusiness record);

    int updateByPrimaryKey(StockBusiness record);

    /**
     * 获取所有股票的code
     * @return
     */
    List<StockBusiness> stockBusiness(@Param("stockCode") String code);


    List<String> getStockIds();

}
